package com.hfy.kandian.mapper;

import com.hfy.kandian.entity.Book;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author HAN XIAOYANG
 * @since 2020-12-30
 */
@Mapper
@Component
public interface BookMapper extends BaseMapper<Book> {

    //List<Book> getBookByKeyword (@Param("keyword") String keyword);

}
